package com.example.entity;

import javax.persistence.*;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @ClassName Teacher
 * @Description
 * @Author JY
 * @Date 2020/7/26 17:28
 **/

public class Human {


    private int id;


    private String name;


    private String sex;

    private Set<Friend> friendList = new HashSet<Friend>();

    public Set<Friend> getFriendList() {
        return friendList;
    }

    public void setFriendList(Set<Friend> friendList) {
        this.friendList = friendList;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }



}
